package org.jeecg.common.modules.order.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单信息
 */
@Data
@TableName("order_info")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="order对象", description="order")
public class OrderInfo {

    @ApiModelProperty(value = "id")
    private String id;

    @Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;   //创建时间

    @Excel(name = "订单类型", width = 15)
    @ApiModelProperty(value = "订单类型")
    private Integer shopType;      //订单类型

    @Excel(name = "订单状态", width = 15)
    @ApiModelProperty(value = "订单状态")
    private Integer status;        //订单状态

    @Excel(name = "用户姓名", width = 15)
    @ApiModelProperty(value = "用户姓名")
    private String userName;    //用户姓名

    @Excel(name = "医生名称", width = 15)
    @ApiModelProperty(value = "医生名称")
    private String doctorName;  //医生名称

    @Excel(name = "订单金额", width = 15)
    @ApiModelProperty(value = "订单金额")
    private BigDecimal amount;   //订单金额
}
